			<div id="numbers">
				<?php 
				$rnme="html";
				$CaD=3;
				$Neata=GetElementsByCatID($rnme, $CaD);
				//echo "<pre>";
				//print_r($Neata);
				//echo "</pre>";
				
				if (!empty($Neata))	{
				$Neata=array_reverse($Neata);
				//$num=count($NewsData);
				$x=1;
				
				$s_imges[1]="one.png";
				$s_imges[2]="two.png";
				$s_imges[3]="three.png";
				$s_imges[4]="four.png";
				$s_imges[5]="five.png";
				$s_imges[6]="six.png";
				$s_imges[7]="seven.png";
				
				foreach ($Neata as $Nwus) {
				
				if (!empty($Nwus['uname'])) $NewURL="/rules/".$Nwus['uname'].".html";
				else $NewURL="/rules/".$Nwus['ID'].".html";
				
				if (!empty($url[1]) and $Nwus['uname']==$url[1]) {
					$ad_style="background-color:#00aeee;";
					$ad_a_style="color:#fff;";
				}
				else { 
					$ad_style="";
					$ad_a_style="";
				}
				?>
   					<div class="num" style="<?php echo $ad_style;?>">
   						<a href="<?=$NewURL;?>" title="<?=htmlspecialchars($Nwus['title']);?>"><img src="<?=$design_path?>images/steps/<?=$s_imges[$x]?>" alt="" /></a>
   					</div>
   					<?php 
   					if ($x==1) { 
   						$padding=10;
   						$bl_height=50;
   					}
   					if ($x==2) {
   						$padding=1;
   						$bl_height=59;
   					}
   					if ($x==3) { 
   						$padding=10;
   						$bl_height=50;
   					}
   					?>
   					<div class="num" style="text-align:left; width:100px; height:<?php echo $bl_height;?>px; padding-top:<?php echo $padding;?>px; <?php echo $ad_style;?>">
   						<a href="<?=$NewURL;?>" title="<?=htmlspecialchars($Nwus['title']);?>" style="<?php echo $ad_a_style;?>"><?php echo $Nwus['title'];?></a>
   					</div>
   				<?php 
   				$x++;
				}//foreach
				}//if (!empty($Neata))	{
   				?>  							
				</div>